*{
    box-sizing: border-box;
    outline:0;
}
.clearfix:before,
.clearfix:after{
	content:" ";
	display:table;
}

.clearfix:after{
	/* content:"."; */
	clear:both;
	/* display: block;
	height:0;
	visibility: hidden; */
}/* IE7给clearfix加上 room：1 */

 .hide{
    display: none;
} 
.pull-right{
 float: right;
}

body{
    background: brown;
    color:#fff;
}
.container{
    max-width: 700px;
    margin:0 auto;
}
h1{
    text-align: center;
}
input[type=text],input[type=date],.desc textarea{
    display:block;
    width:100%;
    border:0;
    background: #eee;
    -webkit-transition:background 200ms;
    -moz-transition:background 200ms;
    -ms-transition:background 200ms;
    -o-transition:background 200ms;
    transition:background 200ms;
    -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.3);
    -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.3);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.3);
}
input[type=text]:focus,input[type=date]:focus,.desc textarea:focus{
    background: #fff;
}
input,.task-item,.task-detail,button,textarea{
    padding: 10px;
    border-radius: 3px;
    background: #fff
}
button{
    display: inline-block;
    border:0;
}
.add-task input[type=text]{
    float:left;
    width:84%;
    margin-right: 1%;
}
.add-task button,.task-detail button{
    float:left;
    width:15%;
    cursor: pointer;
    background: rgb(216, 123, 123);
    color:#fff;
    -webkit-transition:background 200ms;
    -moz-transition:background 200ms;
    -ms-transition:background 200ms;
    -o-transition:background 200ms;
    transition:background 200ms;
}
.add-task button:hover,.task-detail button:hover{
    background: rgb(170, 98, 98);
}
.task-list{
    margin: 5px 0;
}
.task-item{
    padding: 10px;
    background: #fff;
    color:#333;
    margin-bottom: 2px;
    border-radius: 3px;
    -webkit-box-shadow:0 2px 3px rgba(0,0,0,.2);
    -moz-box-shadow:0 2px 3px rgba(0,0,0,.2);
    box-shadow: 0 2px 3px rgba(0,0,0,.2);
    -webkit-transition:background 200ms;
    -moz-transition:background 200ms;
    -ms-transition:background 200ms;
    -o-transition:background 200ms;
    transition:background 200ms;
}
.task-item:hover{
    background: #eee;
}

.task-item .detail{
    margin-right: 6px;
}

.task-item .detail,.task-item .delete,input[type=checkbox] {
    cursor: pointer;
}

.task-detail-mask{
    position: absolute;
    top:0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,.5);
}

.task-detail{
    width:60vw;
    height:60vh;
    background: rgb(243, 210, 210);
	position: absolute;
	left:0;
	top: 0;
    right:0;
	bottom: 0;
    margin:auto;
    padding: 10px;
}
.content,.desc,.remind{
    padding: 3px;
    color: #333;
}
.content{
   font-weight: 900;
}
.remind button{
    margin-top:6px;
    float: right;
}



